/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package GUI;

import java.awt.Dimension;
import java.awt.Toolkit;

/**
 *
 * @author David
 */
public class Constantes {
    
    static Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
    private static int anchoPantalla = (int) dim.getWidth();
    private static int largoPantalla = (int) dim.getHeight();

    /**
     * @return the anchoPantalla
     */
    public static int getAnchoPantalla() {
        return anchoPantalla;
    }

    /**
     * @return the largoPantalla
     */
    public static int getLargoPantalla() {
        return largoPantalla;
    }
    
    
    
    
    
   /* static int anchoP1=500;
    static int anchoP2=(int)((anchoP-anchoP1)/1.5);
    static int anchoP3=anchoP-anchoP1-anchoP2;
    static int largoP2=300;
    static int largoP1=largoP-largoP2;
    static double cteX=.8;
    static double cteY=.4;
    static int origenX=(int) (anchoP2/2*1.05);
    static int centro1=(int) ((anchoP2/3+10)*cteY);
    static int centro2=(int)(anchoP2/12);
    static int centro3;
    static int origenY=(int) (largoP1/2 - centro());
    static int ancho=(int) (anchoP2/5.5-10);
    static int largo=(int) (anchoP2/5.5-10);
    static int alto=anchoP2/13;*/

  /*  public static int centro() {
        if (centro1>=centro2){
			centro3=centro1; 
		}else {
			centro3=centro2;
		}
		return centro3;
    }*/

}
